package com.sh.rbac.domain.dto.dept;

import com.sh.rbac.core.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 部门保存数据传输对象
 *
 * @author wb
 * @since 2025-05-19
 */

@EqualsAndHashCode(callSuper = true)
@Schema(name = "部门保存参数")
@Data
public class DeptSaveDTO extends BaseDTO {

    @Schema(description = "父部门ID")
    private Long parentId;

    @Schema(description = "部门负责人ID")
    private Long leaderId;

    @Schema(description = "部门名")
    private String name;

    @Schema(description = "部门电话")
    private String phone;

    @Schema(description = "部门邮箱")
    private String email;
}
